using Assets.Scripts.SO;
using TMPro;
using UnityEngine;

namespace Assets.Scripts.UI
{
    internal class HappyPopup : MonoBehaviour
    {
        [SerializeField] private TMP_Text _happyText;
        [SerializeField] private TMP_Text _unhappyText;

        public void Set(ScriptableChild child)
        {
            _happyText.text = child.HappyDescription;
            _unhappyText.text = child.UnhappyDescription;
        }
    }
}
